#define _CRT_SECURE_NO_WARNINGS  
#include<stdio.h>
int maintest01()
{
	int arr1[3] = { 1,2,3 };
	int arr2[3] = { 4,5,6 };
	int i = 0,t=0;
	for (i = 0;i < 3;i++)
	{
		t = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = t;
	}
	for (i = 0;i < 3;i++) {
		printf("%d ", arr1[i]);
	}
	printf("\n");
	for (i = 0;i < 3;i++) {
		printf("%d ", arr2[i]);
	}
	return 0;
}